package com.example.pricecloudperformancetesting.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Remy
 * @description :实体类
 * @date 2020-05-21 16:57
 */
@Data
@Builder
public class QuoteDepth {

    @JSONField(name="bid_price", ordinal = 0)
    private BigDecimal bidPrice;

    @JSONField(name="bid_size", ordinal = 1)
    private double bidSize;

    @JSONField(name="bid_originator", ordinal = 2)
    private String bidOriginator;

    @JSONField(name="ask_price", ordinal = 3)
    private BigDecimal askPrice;

    @JSONField(name="ask_size", ordinal = 4)
    private double askSize;

    @JSONField(name="ask_originator", ordinal = 5)
    private String askOriginator;


}
